// SHCaculateCommand.cpp: implementation of the SHCaculateCommand class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "SHCaculateCommand.h"
#include "SHLoadAssignCommand.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

SHCaculateCommand::SHCaculateCommand(SupportHanger* pSH)
{
	m_pSH = pSH;
}

SHCaculateCommand::~SHCaculateCommand()
{

}

BOOL SHCaculateCommand::Execute()
{
/*	SHLoadAssignCommand command(m_pSH);
	if(!command.Execute())
		return FALSE;

	for(int i = 0; i < m_pSH->GetStringCount(); i++)
	{
		PartString* pString = m_pSH->GetSupportStrings().GetAt(i);
		ASSERT(pString);
		StringCaculateCommand StringCommand(pString);
		if(!StringCommand.Execute())
		{
			return FALSE;
		}
	}*/
	return TRUE;
}